www.gusucode.com > wxApp PHP版微信小程序CMS系统 v1.0PHP源码程序 > wxApp PHP版微信小程序CMS系统 v1.0/wxAppCMS_v1.0.0/wxAppCMS_v1.0.0/iPHP/core/template/plugins/compiler.debug.php
<?php /* * Template Lite plugin converted from Smarty * ------------------------------------------------------------- * Type: function * Name: debug * Version: 1.0 * Date: July 1, 2002 * Author: Monte Ohrt <monte@ispi.net> * Purpose: popup debug window * ------------------------------------------------------------- */ function tpl_compiler_debug($params, &$tpl) { if($params['output']) { $debug_output = '$this->assign("_templatelite_debug_output", ' . $params['output'] . ');'; } else { $debug_output = ""; } if(!function_exists("generate_compiler_debug_output")) { require iTEMPLATE_DIR . "internal/template_generate_debug_output.php"; } $debug_output .= template_generate_debug_output($tpl); return $debug_output; }